//
//  BMAMemoriExoSelectLevelViewController.m
//  Autismus
//
//  Created by Nicolas CHENG on 04/12/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "BMAMemoriExoSelectLevelViewController.h"
#import "BMAMemoriExoViewController.h"


@implementation BMAMemoriExoSelectLevelViewController

#pragma mark - IBActions

- (IBAction)goLevel1:(id)sender
{
    BMAMemoriExoViewController *vc = [[BMAMemoriExoViewController alloc] initWithLevel:0];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)goLevel2:(id)sender
{
    BMAMemoriExoViewController *vc = [[BMAMemoriExoViewController alloc] initWithLevel:1];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)goBack:(id)sender
{
    [self.navigationController popViewControllerAnimated:YES];
}

#pragma mark - View lifecycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
	return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}

@end
